//
//  UIViewController+SKAlertViewController.m
//  Sudoku
//
//  Created by Richard Hodgkins on 15/09/2012.
//  Copyright (c) 2012 Richard Hodgkins. All rights reserved.
//

#import "UIViewController+SKAlertViewController.h"

@implementation UIViewController (SKAlertViewController)

#pragma mark - Show alert view

- (void) showAlertView:(NSInteger) tag title:(NSString *) title message:(NSString *) message cancelButtonTitle:(NSString *) cancelButtonTitle otherButtonTitles:(NSString *) otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION
{
    UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:title message:message delegate:self cancelButtonTitle:cancelButtonTitle otherButtonTitles:otherButtonTitles, nil];
    alertView.tag = tag;
    [alertView show];
}

@end
